handleAuthentication

open suspend fun handleAuthentication(client: HttpClient, url: URL, data: Any, options: <ERROR CLASS>): HttpResponse

Will not be called unless canHandleAuthentication is true.

data will be ReadableStream or String.

Sources

js source
Link copied to clipboard